/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entities;

import java.io.Serializable;

/**
 *
 * @author HoangTien
 */
public class Comment implements Serializable{
    private int comId;
    private int bookId; 
    private String username;
    private String comTitle;
    private String comContent;

    public Comment() {
    }

    public Comment(int comId, int bookId, String username, String comTitle, String comContent) {
        this.comId = comId;
        this.bookId = bookId;
        this.username = username;
        this.comTitle = comTitle;
        this.comContent = comContent;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public int getBookId() {
        return bookId;
    }

    public void setComId(int comId) {
        this.comId = comId;
    }

    public int getComId() {
        return comId;
    }

    public void setComContent(String comContent) {
        this.comContent = comContent;
    }

    public String getComContent() {
        return comContent;
    }

    public void setComTitle(String comTitle) {
        this.comTitle = comTitle;
    }

    public String getComTitle() {
        return comTitle;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }
  
}
